/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.tradeplus.jms;

import java.util.List;

import javax.mail.MessagingException;
import javax.servlet.ServletContext;

import com.tradeplus.security.model.User;
/**
 *
 * @author ronnie
 */
/**
 * Interface for EmailService
 */
public interface EmailService {
    public void sendEmail(String fromEmail,List<String> recipientEmails,List<String> copiedRecipientEmails, List<String> blindRecipientEmails, 
                                  String subjectLine, 
                                  String bodyText, 
                                  String htmlText,
                                  List attachments,
                                  List inLineAttachments,
                                  boolean isHtml) throws MessagingException ;

    public Boolean SendTestEmail(String emailID, ServletContext ctx) throws Exception;
    public Boolean SendNotificationEmail(int userId, ServletContext ctx) throws Exception;
    public Boolean SendPanelistRegistrationRespondEmail(int activationCode, int userId, ServletContext ctx) throws Exception;
    public Boolean SendPanelistCreateConfirmationEmail(int jobID, ServletContext ctx) throws Exception;
    public Boolean sendPasswordRequestEmail(String emailAddress, User user, ServletContext ctx) throws Exception;
    public Boolean sendCustomerRespondEmail(int userId, ServletContext ctx);
    public Boolean SendCustomerCreateConfirmationEmail(int jobID, ServletContext ctx) throws Exception;
    public Boolean sendSupportEmail(String from,String emailSupport, String userName, ServletContext ctx);
}
